﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PROJECT01_Cs
{
    abstract class Vehice
    {
        private string name;
        public Engine[] E = new Engine[1];
        public virtual String getName
        {
            get{ return name; }
            set{ name = value; }
        }
        public virtual String go()
        {
            return "";
        }
        public virtual Boolean isEngineOn()
        {
            return true;
        }
        public virtual void startEngine()
        {            
        }
        public virtual void stopEngine()
        {
        }
    }
}
